//
//  TJRoundingCornerImageView.h
//
//  Created by xtjun on 2019/11/23.
//  Copyright © 2019 xiayonghong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TJRoundingCornerView : UIView
/**裁剪圆角  圆角corners位置 radius大小*/
+ (instancetype)roundingCorners:(UIRectCorner)corners radius:(CGFloat)radius;

@property (assign, nonatomic) CGFloat radius;
@property (assign, nonatomic) UIRectCorner corners;


@end

@interface TJRoundingCornerImageView : UIImageView
/**裁剪圆角  圆角corners位置 radius大小*/
+ (instancetype)imageRoundingCorners:(UIRectCorner)corners radius:(CGFloat)radius;

@property (assign, nonatomic) CGFloat radius;
@property (assign, nonatomic) UIRectCorner corners;


@end

@interface TJRoundingCornerButton : UIButton
/**裁剪圆角  圆角corners位置 radius大小*/
+ (instancetype)roundingCorners:(UIRectCorner)corners radius:(CGFloat)radius;

@property (assign, nonatomic) CGFloat radius;
@property (assign, nonatomic) UIRectCorner corners;


@end

NS_ASSUME_NONNULL_END
